package com.luobo.configuration;


import org.springframework.amqp.core.Queue;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class EmailConfiguration {
    @Bean
    @Value("${systems.config.emailQueue:emailQueue}")
    public Queue emailQueue(String emailQueue){
    	
        return new Queue(emailQueue);
    }
}
